<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!--引入头部文件-->
<?php include template("content","header"); ?>
<link rel="stylesheet" href="<?php echo CSS_PATH;?>/css/achievements.css" />
<!--引入导航条-->
<?php include template("content","nav"); ?>
<!--标题图片-->
<div class="thumb">
    <img src="<?php echo IMG_PATH;?>/img/1.png">
</div>
<!--主体-->
<div class="dcit-main">
    <div class="sub-nav">
        <div class="sub">
            <dl>
                <dt>学校概况</dt>
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=0e70f223d8972d422ee12a8f2144a30a&action=category&catid=6&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'6','order'=>'listorder ASC','limit'=>'20',));}?>
                <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                <dd <?php if($catid==$r['catid']) { ?> class="active" <?php } ?>>
                <a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?><i class="icon iconfont icon-arrows-r"></i></a>
                </dd>
                <?php $n++;}unset($n); ?>
                <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </dl>
        </div>
        <div class="leave-word">
            <div class="title clearfix">
                <div><i class="icon iconfont icon-leave-word"></i></div>
                <div>
                    <p>留言板</p><small>Message Board</small></div>
            </div>
            <div class="leave-center">
                <input type="text" placeholder="请留下您宝贵的意见或建议" /><span><i class="icon iconfont icon-send"></i></span>
            </div>
        </div>
        <div class="links">
            <h3>相关链接</h3>
            <small>欢迎来到神岗山中学</small>
            <?php include template("content","link"); ?>
        </div>
    </div>
    <div class="main">
        <!--面包屑导航-->
        <div class="breadcrumb">
            <ul>
                <li>
                    <a href="#"><i class="icon iconfont icon-house"></i></a>
                    <?php echo catpos($catid);?>
                </li>
            </ul>
            <div class="line"></div>
        </div>
        <!---->
        <div class="context-user">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ee055673aed1d815ebdacd032764917d&action=lists&catid=%24catid&num=25&order=id+DESC&page=%24page&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 25;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>$catid,'order'=>'id DESC','moreinfo'=>'1','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>$catid,'order'=>'id DESC','moreinfo'=>'1','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
                <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                    <div>
                        <div class="user-titile"><?php echo $r['title'];?></div>
                        <div class="user-center">
                            <div class="user-photo"><img src="<?php echo $r['thumb'];?>"></div>
                            <div class="user-details">
                                <div><?php echo $r['keywords'];?></div>
                                <div><?php echo $copyfrom;?></div>
                                <div>领导工作：</div>
                                <div><?php echo $r['description'];?></div>
                            </div>
                        </div>
                    </div>
                <?php $n++;}unset($n); ?>
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </div>

    </div>
</div>
<!--底部-->
<div class="footer">
    <div>
        <span>Copyright&copy;神岗山学校版权所有</span>
        <span>地址：江西省吉安市吉水县神岗山学校</span>
        <span>电话：0797-4445658</span>
    </div>
    <div>
        <span>邮编：341100</span>
        <span>备案号：赣2412822638</span>
    </div>
</div>
</body>
<script type="text/javascript" src="<?php echo JS_PATH;?>/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>/js/base.js"></script>
<script type="text/javascript">
    $(function(){
        setTimeout(function(){
            $.each($(".context-user"), function(n,v) {
                $(v).find("img").css("margin-left",-($(v).find("img").width()-100)/2+"px");
            });
        },100);
    });
</script>
</html>